home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
New Star Software Collection
/
NSS_Collection.iso
/
3-170 dbase 10 for windows
/
1.ima
/
SAMPLES.PAK
/
EVENT.PRG
< prev
next >
Wrap
Text File
|
1993-07-26
|
2KB
|
43 lines
*******************************************************************************
* PROGRAM: Event.prg
*
* WRITTEN BY: Borland Late Night Crew
*
* DATE: 6/93
*
* UPDATED:
*
* VERSION: Alpha α
*
* DESCRIPTION: This program uses Bladerunner's object model to create windows
* with event handlers that manipulate the properties of the
* window and its controls.
* MakeButtonWindow() will create a window with a pushbutton.
* When you left click anywhere in that window, the pushbutton
* will move to that point, and its caption will change to show
* the current pixel coordinates.
* MakeSizeWindow() will create the same window, but now when
* you left click and move in the window, its size will change
* as you move the mouse.
* All these properties are changed using the event handler
* functions that are assigned to this window's class
*
* PARAMETERS: None
*
* CALLS: None
*
* USAGE: DO Event
*
*******************************************************************************
public c
c = 0
set procedure to sampproc && so all functions will be accessible when the command
&& window has control while the windows created using
&& these functions are waiting for events to happen
MakeButtonWindow()
MakeSizeWindow()
**************************** End of Event.prg *********************************